package com.texplose.service;


import com.texplose.entity.Category;
import com.texplose.entity.vo.ResponseResult;

public interface CategoryService {
    ResponseResult getRootCategory();

    ResponseResult getChildrenById(Integer id);

    ResponseResult getCategoryList();

    ResponseResult deleteCategoryById(Integer id);

    ResponseResult insertCategory(Category category);

    ResponseResult updateCategory(Category category);

    ResponseResult getRecipeListById(Integer id);

    ResponseResult getCategoryDetail(Integer id);

    ResponseResult getCategoryPicker();

}
